package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.Finance;
import cn.itcast.domain.cargo.FinanceExample;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FinanceService {

    PageInfo<Finance> findByPage(FinanceExample financeExample,Integer pageNum,Integer pageSize);

    List<Finance> findAll(FinanceExample financeExample);

    Finance findById(String id);

    void save(Finance finance);

    void update(Finance finance);

    void delete(String id);
}
